package com.gxa.dr2.dto;

/**
 * LayUI数据表格数据传输对象
 * 标准的javaBean格式：
 * 1. 所有属性私有化
 * 2. 无参构造器
 * 3. getter和setter
 */
public class LayDTO {

    private Integer code;

    private String msg;

    private Long count;

    private Object data;

    public LayDTO() {

    }

    public LayDTO(Long count, Object data) {
        this.code = 0;
        this.msg = "";
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }
}
